Integrated-interleaved low density parity check (ldpc) codes

ABSTRACT

Methods and apparatus are provided for integrated-interleaved Low Density Parity Check (LDPC) coding and decoding. Integrated-interleaved LDPC encoding is performed by obtaining at least a first data element and a second data element; systematically encoding the at least first data element using a submatrix H 0  of a sparse parity check matrix H 1  to obtain at least a first codeword; truncating the at least first data element to obtain at least a first truncated data element; systematically encoding the at least second data element and the at least first truncated data element using the sparse parity check matrix H 1  to obtain a nested codeword; and generating a second codeword based at least in part on a combination of the first codeword and the nested codeword. Integrated-interleaved LDPC decoding is also provided.

FIELD

The present invention relates generally to error correcting codes, and more particularly, to integrated-interleaved encoding and decoding techniques.

BACKGROUND

Error correcting codes allow data errors to he detected and corrected, provided the number of errors or the characteristics of the errors fall within the correction capabilities of the code that is used. Integrated-interleaved codes, for example, are systematic codes (i.e., the input data is included or otherwise embedded in the encoded data) that generate multiple codewords, each of which is associated with a particular level. The integrated-interleaved coding scheme can he used to compensate for format inefficiencies due to small block lengths and he deployed in distributed storage systems.

SUMMARY

Generally, methods and apparatus are provided for integrated-interleaved Low Density Parity Check (LDPC) coding and decoding. According to one aspect of the invention, integrated-interleaved LDPC encoding is performed by obtaining at least a first data element and a second data element; systematically encoding the at least first data element using a submatrix H₀ of a sparse parity check matrix H₁ to obtain at least a first codeword; truncating the at least first data element to obtain at least a first truncated data element; systematically encoding the at least second data element and the at least first truncated data element using the sparse parity check matrix H₁ to obtain a nested codeword; and generating a second codeword based at least in part on a combination of the first codeword and the nested codeword.

According to another aspect of the invention, integrated-interleaved LDPC decoding is performed by obtaining a channel word y=[y₀, y₁, . . . , y_(m 1)], wherein m comprises a number of component words in the channel word; applying a min-sum decoding it each component word y_(i), i=0, 1, . . . , m−1; adding all passing decoded codewords to a failed codeword, y_(j), such that y=y_(j)+Σ_(i≠j)c_(i); decoding y with respect to H₁; and declaring c_(j)=c−Σ_(i≠j)c_(j) if successfully decoded to a codeword c, if a component word, y_(j), incurs a decoding failure.

A more complete understanding of the present invention, as well as further features and advantages of the present invention, will be obtained by reference to the following detailed description and drawings.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 illustrates an exemplary communication system in which aspects of the present invention can be employed;

FIG. 2 is a block diagram of an exemplary two-level integrated-interleaved Low Density Parity Check (LDPC) encoder incorporating aspects of the present invention;

FIG. 3 is a flowchart illustrating an embodiment of an exemplary encoding process for two-level integrated-interleaved LDPC encoding; and

FIG. 4 is a flowchart illustrating an embodiment of an exemplary decoding process for two-level integrated-interleaved LDPC decoding.

DETAILED DESCRIPTION

Various aspects of the invention are directed to integrated-interleaved LDPC encoding and decoding techniques. A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.

Integrated-Interleaved Coding Scheme

The integrated-interleaved coding scheme nests a set of m component codewords with v (v<m) more powerful (e.g., second or higher level) codewords in the nested layer which is a subcode of the component layer. Thus, v can be considered a number of second level codewords. The nested layer enables the correction of up to v component words that fail by self-decoding. For a more detailed discussion of the integrated-interleaved coding scheme, see, for example, U.S. Pat. No. 5,946,328, entitled “Method and Means for Efficient Error Detection and Correction in Long Byte Strings Using Integrated Codewords;” M. A. Hassner et al., “Integrated Interleaving—a Novel ECC Architecture,” IEEE Trans. Magnetics, vol. 37, 773-775 (March 2001); and/or U.S. Pat. No. 8,161,360, entitled “Integrated Interleaved Codes,” each incorporated by reference herein.

Under an exemplary two-level integrated-interleaved coding scheme, let {C_(i)}_(i=0) ¹ be (n, k_(i), d_(i)) over the Galois field GF(q) such that C₁⊂C₀ and d₁>d₀, where C_(i), i=0, 1, explicitly assume cyclic components codes, such as Reed-Solomon codes (possibly shortened). Denote by α a primitive element of GF(q). An integrated-interleaved code is defined as follows

$\begin{matrix} {{C\overset{\Delta}{=}\left\{ {{c = {\left\lbrack {c_{0},c_{1},c_{2},\ldots \mspace{14mu},c_{m - 1}} \right\rbrack:{c_{i} \in C_{0}}}},{{\sum\limits_{i = 0}^{m - 1}\; {\alpha^{bi}c_{i}}} \in C_{1}},{b = 0},1,2,\ldots \mspace{14mu},{v - 1}} \right\}},} & (1) \end{matrix}$

where v<m<q.

Integrated-Interleaved LDPC Coding Scheme

According to one aspect of the present invention, the above integrated-interleaved code description is extended to LDPC codes with respect to v=1. Let H₁ be a sparse parity check matrix of C₁(n, k₁) LDPC code and H₀ be a submatrix of H₁ corresponding to C₀(n, k₀) LDPC code. An exemplary integrated-interleaved LDPC code can be defined as follows:

$\begin{matrix} {C\overset{\Delta}{=}\left\{ {{c = {{\left\lbrack {c_{0},c_{1},c_{2},\ldots \mspace{14mu},c_{m - 1}} \right\rbrack:{H_{0}c_{i}^{T}}} = 0}},{{H_{1}\left( {\sum\limits_{i = 0}^{m - 1}\; c_{i}} \right)}^{T} = 0}} \right\}} & (2) \end{matrix}$

FIG. 1 illustrates an exemplary communication system 100 in which aspects of the present invention can be employed. As shown in FIG. 1, a transmitter 110 includes an integrated-interleaved LDPC encoder 200, as discussed further below in conjunction with FIGS. 2 and 3. Data is encoded using an integrated-interleaved LDPC code and any additional processing is applied as needed or appropriate. The processed data is then transmitted over a communication network 130. The communication network 130 may be embodied, for example, as any combination of wired and/or wireless communication devices. A receiver 150 receives a signal from the network 130 and processes the signal, including decoding the signal using an integrated-interleaved LDPC decoder 400, as discussed further below in conjunction with FIG. 4. Typically, a communication network 130 is noisy and the signal received by the receiver 150 is typically corrupted by noise.

In one or more exemplary embodiments, an integrated-interleaved LDPC code is used to compensate for format inefficiencies (e.g., due to a short block length and/or to reduce hardware costs in designing codes of a relatively long block length). In further embodiments, an integrated-interleaved LDPC code is used in another application besides the exemplary example shown in FIG. 1.

Aspects of the present invention provide a particular mapping or coding associated with integrated-interleaved LDPC coding. In one or more exemplary embodiments, a second level has a single component codeword and in other embodiments the second level has two or more codewords.

FIG. 2 is a block diagram of an exemplary two-level integrated-interleaved LDPC encoder 200 incorporating aspects of the present invention, for the case where m=4 and v=1. Generally, the exemplary integrated-interleaved LDPC encoder 200 of FIG. 2 aligns input messages a₀, a₁, a₂, a₃, and then linearly combines the input messages a₀, a₁, a₂, a₃, for the nested-layer encoding. As discussed hereinafter, the first step is to systematically encode the messages a₁, a₂, . . . , a_(m-1), with respect to H⁰, and consequently yields component codewords c₁, c₂, . . . , c_(m-1), respectively.

Thus, as shown in FIG. 2, the exemplary integrated-interleaved LDPC encoder 200 comprises systematic encoders 240-1 through 240-3 that are configured to receive and encode input data a₁, a₂, a₃, respectively, using submatrix H₀, as defined by Eq. (2). First-level codewords c₁, c₂, c₃, are generated by systematic encoders 240-1 through 240-3, respectively.

To obtain the exemplary second-level codeword c₀*, truncated input, data a₁, a₂, a₃, is added to a delayed version of input data a₀ generated using delay element 210. Denote by a′_(i) the truncated message of a_(i), a′_(i)=[a_(i,0), a_(i,1), . . . , a_(i,k) ₁ ⁻¹]. The original input messages a₀, a₁, a₂, a₃ have a length k₀ and the truncated messages a′₁, a′₂, a′₃ have a length k₁ (k₀>k₁).

As shown in FIG. 2, the left-aligned summation a₀+Σ_(i=1) ^(m-1)a′_(i) (using delay element 210 for alignment and adder 220 for summation) is selected by multiplexer 225 and systematically encoded at stage 230 with respect to H₁ to yield a nested codeword c.

As shown in FIG. 2, adder 250 is configured to receive the first-level codewords c₁, c₂, c₃, as well as the nested codeword c to perform the following operation to generate the exemplary second-level codeword c*₀:

$\begin{matrix} {c_{0}^{*}\overset{\Delta}{=}{\overset{\_}{c} - {\sum\limits_{i = 1}^{m - 1}\; c_{i}}}} & (3) \end{matrix}$

In the exemplary embodiment of FIG. 2, where v is equal to 1, the second level has a single component codeword. In cases where v is greater than 1, the second level has a plurality of component codewords.

It can be verified that c*₀∈C₀, and furthermore, c*₀+Σ_(i=1) ^(m-1)c_(i)=c∈C₁.

FIG. 3 is a flowchart illustrating an embodiment of an exemplary encoding process 300 for two level integrated-interleaved LDPC encoding, where m=4 and v=1. As shown in FIG. 3, the exemplary encoding process 300 initially obtains input messages a₀, a₁, a₂, a₃ during step 310. Thereafter, first level codewords c₁, c₂, c₃ are generated during step 320 by performing systematic encoding with respect to H₀.

The truncated version of input message a₀ is then delayed during step 330 using delay element 210 to align the truncated input message a₀ with input messages a₁, a₂, a₃. Adder 220 then performs a left-aligned summation a₀+Σ_(i=1) ^(m-1)a′_(i) during step 340. The sum generated by adder 220 is then systematically encoded with respect to H₁ during step 350 to generate a nested codeword c.

Finally, adder 250 receives the first-level codewords c₁, c₂, c₃, as well as the nested codeword c during step 360 to generate the exemplary second-level codeword c*₀, as follows:

$c_{0}^{*}\overset{\Delta}{=}{\overset{\_}{c} - {\sum\limits_{i = 1}^{m - 1}\; {c_{i}.}}}$

Integrated-Interleaved LDPC Decoding Scheme

FIG. 4 is a flowchart illustrating an embodiment of an exemplary decoding process 400 for two level integrated-interleaved LDPC decoding, where m=4 and v=1. As shown in FIG. 4, the exemplary decoding process 400 initially receives a channel word y=[y₀, y₁, . . . , y_(m-1)] during step 410. The exemplary decoding process 400 applies a min-sum decoding to each component word y_(i), i=0, 1, . . . , m−1 during step 420. If it is determined during step 430 that each component word is decoded successfully, then the corrected codeword is returned during step 440. If it is determined during step 430 that two or more component words incur decoding failure, then a decoding failure is declared during step 450. If it is determined during step 430 that one component word incurs a decoding failure, say, y_(j), then all other passing decoded codewords are added to the failed codeword during step 460, such that y=y_(j)+Σ_(i≠j)c_(i) and then y is decoded with respect to H₁ during step 470. If successfully decoding to a codeword c, then declare c_(i)=c−Σ_(i≠j)c_(i) during step 480.

While aspects of the present invention have been illustrated using integrated-interleaved LDPC encoding and decoding for v equal to 1, the present invention can be extended to additional values of v, as would be apparent to a person of ordinary skill in the art. In addition, while aspects of the present invention have been illustrated using two-level integrated-interleaved LDPC encoding and decoding, the present ^(.)invention can be extended to higher-level integrated-interleaved LDPC encoding and decoding, as would be apparent to a person of ordinary skill in the art.

Process, System and Article of Manufacture Details

While a number of flow charts herein describe an exemplary sequence of steps, it is also an embodiment of the present invention that the sequence may be varied. Various permutations of the algorithm are contemplated as alternate embodiments of the invention. While exemplary embodiments of the present invention have been described with respect to processing steps in a software program, as would be apparent to one skilled in the art, various functions may be implemented in the digital domain as processing steps in a software program, in hardware by circuit elements or state machines, or in combination of both software and hardware. Such software may be employed in, for example, a digital signal processor, application specific integrated circuit, micro-controller, or general-purpose computer. Such hardware and software may be embodied within circuits implemented within an integrated circuit.

Thus, the functions of the present invention can be embodied in the form of methods and apparatuses for practicing those methods. One or more aspects of the present invention can be embodied in the form of program code, for example, whether stored in a storage medium, loaded into and/or executed by a machine, or transmitted over some transmission medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention. When implemented on a general-purpose processor, the program code segments combine with the processor to provide a device that operates analogously to specific logic circuits. The invention can also be implemented in one or more of an integrated circuit, a digital signal processor, a microprocessor, and a micro-controller.

As is known in the art, the methods and apparatus discussed herein may be distributed as an article of manufacture that itself comprises a computer readable medium having computer readable code means embodied thereon. The computer readable program code means is operable, in conjunction with a computer system, to carry out all or some of the steps to perform the methods or create the apparatuses discussed herein. The computer readable medium. may be a tangible recordable medium (e.g., floppy disks, hard drives, compact disks, memory cards, semiconductor devices, chips, application specific integrated circuits (ASICs)) or may be a transmission medium (e.g., a network comprising fiber-optics, the world-wide web, cables, or a wireless channel using time-division multiple access, code-division multiple access, or other radio-frequency channel). Any medium known or developed that can store information suitable for use with a computer system may be used. The computer-readable code means is any mechanism for allowing a computer to read instructions and data, such as magnetic variations on a magnetic media or height variations on the surface of a compact disk.

The computer systems and servers described herein may each contain a memory that will configure associated processors to implement the methods, steps, and functions disclosed herein. The memories could be distributed or local and the processors could be distributed or singular. The memories could be implemented as an electrical, magnetic or optical memory, or any combination of these or other types of storage devices. Moreover, the term “memory” should be construed broadly enough to encompass any information able to be read from or written to an address in the addressable space accessed by an associated processor. With this definition, information on a network is still within a memory because the associated processor can retrieve the information from the network.

It is to be understood that the embodiments and variations shown and described herein are merely illustrative of the principles of this invention and that various modifications may be implemented by those skilled in the art without departing from the scope and spirit of the invention. 

We claim:
 1. A method for performing integrated-interleaved Low Density Parity Check (LDPC) encoding, comprising: obtaining at least a first data element and a second data element; systematically encoding the at least first data element using a submatrix H₀ of a sparse parity check matrix H₁ to obtain at least a first codeword; truncating the at least first data element to obtain at least a first truncated data element; systematically encoding the at least second data element and the at least first truncated data element using said sparse parity check matrix H₁ to obtain a nested codeword; and generating a second codeword based at least in part on a combination of the first codeword and the nested codeword.
 2. The method of claim 1, further comprising the step of outputting the first codeword and the second codeword.
 3. The method of claim 1, further comprising the step of delaying the at least second data element to align the at least second data element with the at least first truncated data element.
 4. The method of claim 3, wherein the at least first data element and the at least second data element have a length of k₀ and wherein at least first truncated data element has a length of k₁ and wherein the step of delaying the at least second data element to align the at least. second data element, with the at least first truncated data element comprises a delay of k₀-k₁.
 5. The method of claim 1, wherein the combination of the first and second codewords comprises an addition of the first and second codewords.
 6. The method of claim 1, wherein the at least first data element comprises a first level and wherein the at least second data element comprises a second level.
 7. The method of claim 6, wherein the second data element is the only codeword associated with the second level.
 8. A tangible machine-readable recordable storage medium for performing integrated-interleaved Low Density Parity Check (LDPC) encoding, wherein one or more software programs when executed by one or more processing devices implement the steps of the method of claim
 1. 9. An integrated-interleaved Low Density Parity Check (LDPC) encoding system, comprising: an input for obtaining at least a first data element and a second data element; and an encoder configured to: systematically encode the at least first data element using a submatrix H₀ of a sparse parity check matrix H₁ to obtain at least a first codeword; truncate the at least first data element to obtain at least a first truncated data element; systematically encode the at least second data element and the at least first truncated data element using said sparse parity check matrix H₁ to obtain a nested codeword; and generate a second codeword based at least in part on a combination of the first codeword and the nested codeword.
 10. The integrated-interleaved LDPC encoding system of claim 9, wherein said encoder is further configured to output the first codeword and the second codeword.
 11. The integrated-interleaved LDPC encoding system of claim 9, wherein said encoder is further configured to delay the at least second data element to align the at least second data element with the at least first truncated data element.
 12. The integrated-interleaved LDPC encoding system of claim 11, wherein the at least. first data element and the at least second data clement have a length of k₀ and wherein at least first truncated data element has a length of k₁ and wherein the step of delaying the at least second data element to align the at least second data element with the at least first truncated data element comprises a delay of k₀-k₁.
 13. The integrated-interleaved LDPC encoding system of claim 9, wherein the combination of the first and second codewords comprises an addition of the first and second codewords.
 14. The integrated-interleaved LDPC encoding system of claim 9, wherein the at least first data element comprises a first level and wherein the at least second data element comprises a second level.
 15. The integrated-interleaved LDPC encoding system of claim 14, wherein the second data element is the only codeword associated with the second level.
 16. A method for performing integrated-interleaved Low Density Parity Check (LDPC) decoding, comprising: obtaining a channel word y=[y₀, y₁, . . . , y_(m-1)], wherein m comprises a number of component words in said channel word; applying a min-sum decoding to each component word y_(i), i=0, 1, . . . , m−1; adding all passing decoded codewords to a failed codeword, y_(j), such that y=y_(j)+Σ_(i≠j)c_(i); decoding y with respect to H₁; and declaring c_(j)=c−Σ_(i≠j)c_(i) if successfully decoded to a codeword c, if a component word, y_(j), incurs a decoding failure.
 17. The method of claim 16, further comprising the step of declaring a decoding failure if two or more component words incur a decoding failure.
 18. An integrated-interleaved Low Density Parity Check (LDPC) decoding system, comprising: an input for obtaining a channel word y=[y₀, y₁, . . . , y_(m-1)], wherein m comprises a number of component words in said channel word; and a decoder configured to: apply a min-sum decoding to each component word y_(i), i=0, 1, . . . , m−1; add all passing decoded codewords to a failed codeword, y_(j), such that y=y_(j)+Σ_(i≠j)c_(i); decode y with respect to H₁; and declare c_(j)=c−Σ_(i≠j)c_(i) if successfully decoded to a codeword c, if a component word, y_(j), incurs a decoding failure.
 19. The decoding system of claim 18, wherein said decoder is further configured to declare a decoding failure if two or more component words incur a decoding failure.
 20. The decoding system of claim 18, wherein said decoder is further configured to generate a codeword if each component word is decoded successfully. 